FMI Table
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 2 | Project Topic 7 |
UserInterface.h
Go to the documentation of this file.
1#ifndef HEADER_USERINTERFACE
2#define HEADER_USERINTERFACE
3
8#include "../Generic/ConsoleInterface/Menu.h"
9#include "../Generic/String/String.h"
10#include "../Models/Table.h"
11
15 Menu menu;
16
17 static Table* table;
18 static String fileName;
19 static bool saved;
20
22 static void com_open(const char* params);
24 static void com_close(const char* params);
26 static void com_save(const char* params);
28 static void com_saveas(const char* params);
30 static void com_help(const char* params);
32 static void com_exit(const char* params);
33
35 static void com_print(const char* params);
37 static void com_edit(const char* params);
38
39public:
42 void run();
43};
44
45#endif
Handles navigation between multiple commands.
Definition: Menu.h:17
A dynamically-allocated C-style string with extra features.
Definition: String.h:17
A 2D collection of Cell instances.
Definition: Table.h:14
The class that contains and via which the user controls the application's user interface.
Definition: UserInterface.h:14
void run()
Starts the user interface.
Definition: UserInterface.cpp:146